package com.lyncs.ods.resp;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import com.lyncs.ods.modules.txn.model.TagInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author alex
 * @date 2022/4/03 15:14
 * @description
 */
@Data
@Accessors(chain = true)
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class SettlementShortInfoResp {

    @ApiModelProperty(value = "交付单ID")
    private Long deliverId;

    @ApiModelProperty(value = "交付单名称")
    private String deliverName;

    @ApiModelProperty(value = "结算单ID")
    private Long settlementId;

    @ApiModelProperty(value = "结算单名称")
    private String settlementName;

    @ApiModelProperty("标签信息")
    private List<TagInfo> tagInfos;

    @ApiModelProperty(value = "结算单创建企业信息")
    private CompanyShortInfoResp companyInfo;

    @ApiModelProperty(value = "结算时间")
    private LocalDate settleTime;

    @ApiModelProperty(value = "结算金额")
    private BigDecimal settleAmount;
}